FROM python
COPY ./ /app
WORKDIR /app
# 修改时区 安装依赖
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && python3 -m pip install -r requirements.txt && python3 -m pip install flask --upgrade
ENTRYPOINT python3 main.py
